﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>

<head>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />

    <style type="text/css">

        body, html, #allmap {
            width: 100%;
            position: absolute;
            bottom: 0px;
            top: 0px;
            left: 0px;
            overflow: hidden;
            font-family: "微软雅黑";
        }

        * {
            padding: 0px;
            margin: 0px;
        }

        #think_page_trace_open {
            display: none;
        }
    </style>



    <title>地图展示</title>

</head>

<body>

    <div id="allmap"></div>
    <script type="text/javascript" src="https://api.map.baidu.com/api?v=2.0&ak=wQVs05v8znjYFUyW2XQm5LivdnWgEy7x"></script>

    <script type="text/javascript">

        var map = new BMap.Map("allmap");

        var point = new BMap.Point(115.9776, 28.702488);

        map.centerAndZoom(point, 16);
        map.enableScrollWheelZoom(true);

        var marker = new BMap.Marker(point);  // 创建标注

        map.addOverlay(marker);               // 将标注添加到地图中

        marker.setAnimation(BMAP_ANIMATION_BOUNCE); //跳动的动画



    </script>

</body>

</html>

